package com.yanghang.service;

import com.github.pagehelper.PageInfo;
import com.yanghang.entity.News;

import java.util.List;

public interface NewsService {
    public List<News>selectAllNews();
    PageInfo<News>selectByPage(int pageNum,int pageSize);
}
